const express = require('express');
const router = express.Router();

const { commentWrite, comment } = require('../controllers/comment')
const {auth} = require("../middleware/auth");


router.post('/', auth, commentWrite)

router.get('/:id', auth, comment)

module.exports = router